import { RouteConfig } from "vue-router"
import { userRouter } from "../modelList/user"
import { shopRouter } from "../modelList/shop"

//获取到所有的路由
export const allRouters: RouteConfig[] = [
    {
        path: "/home",
        component: () =>
            import(/* webpackChunkName: "home" */ "@/views/home/home.vue"),
        children: [
            ...userRouter,
            ...shopRouter
        ]
    },
]